﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" MasterPageFile="~/MstConsultas.master"%>
<%@ MasterType VirtualPath="~/MstConsultas.master" %>

<asp:Content ID="cntLogin" ContentPlaceHolderID="cphPrincipal" runat="Server">
    <script type="text/javascript">
        function fc_Trim(pstrInput) {
	        var i;
	        var vstrTemp = '';
	        var j = 0;
	        var cadena = pstrInput;
        	
	        for(i=0; i<cadena.length; )
	            {
		            if(cadena.charAt(i)==" ")
			            cadena=cadena.substring(i+1, cadena.length);
		            else
			            break;
	            }

	            for(i=cadena.length-1; i>=0; i=cadena.length-1)
	            {
		            if(cadena.charAt(i)==" ")
			            cadena=cadena.substring(0,i);
		            else
			            break;
	            }
	        return cadena;

        }
    </script>
    <div>
        <table style="color:Green">
            <tr>
                <td colspan="2">Log in with your Google Account<img src="http://www.google.com/favicon.ico" /></td>
            </tr>
            <tr>
                <td colspan="2"><asp:Label ID="lblMensaje" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="2"><asp:Button ID="btnLogin" text="Acceder" runat="server" OnCommand="btnLogin_Click" CommandArgument="https://www.google.com/accounts/o8/id"/></td>
            </tr>
        </table>
    </div>
</asp:Content>
